package com.happy.cat.project.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: verne
 * @Data: 2020/7/3 14:27
 */
@Data
@ApiModel(value="OssPolicyResultVo对象", description="OSS上传策略")
public class OssPolicyResultVo {

    @ApiModelProperty("访问身份验证中用到用户标识")
    private String ossAccessKeyId;

    @ApiModelProperty("用户表单上传的策略,经过base64编码过的字符串")
    private String policy;

    @ApiModelProperty("对policy签名后的字符串")
    private String signature;

    @ApiModelProperty("上传文件夹路径前缀")
    private String dir;

    @ApiModelProperty("oss对外服务的访问域名")
    private String host;

    @ApiModelProperty("上传成功后的回调设置")
    private String callback;

    @ApiModelProperty("上传文件类型")
    private String fileType;

    @ApiModelProperty("文件标识")
    private Long fileId;

}
